<#include "/component/pagination.html" />
<script>
	$("#checkAllGroups").checkall({itemName : "groupId"});
</script>
<table class="table table-striped table-hover" >
	<thead>
		<tr>
			<th width="3%" scope="col"><input
				id="checkAllGroups" name="" type="checkbox" value="" /></th>
			<th width="22%" scope="col"><@spring.message code='group.name'/></th>
			<th width="22%" scope="col"><@spring.message code='group.creator'/></th>
			<th width="22%" scope="col"><@spring.message code='group.createTime'/></th>
		</tr>
	</thead>
	<tbody>
		<#list pager.list as item>
		<tr <#if ((item_index+1) % 2 == 0) >class="oddrow"</#if>>
			<td class="c"><input name="groupId" type="checkbox" value="${item.id}" /></td>
	        <td>${item.name!}</td>
	        <td>${item.username!}</td>
	        <td>${item.createTime?datetime}</td>
	    </tr>
		</#list>
	</tbody>
</table>
<@pagination selectSize=false/>
